import axios from '../../axios.js'

const logs = {

    //创建
    theLogin: function (data) {
        return axios({
            url: '/logs/createLogs',
            method: "post",
            data
        })
    },

    //获取和搜索
    getLogs: function (params) {
        return axios({
            url: '/logs/toObtainLogs',
            method: 'get',
            params
        })
    },
}


export default logs